package com.cy.device.model;

import java.util.List;

/**
 * 离线信息上报
 *
 * @author: jiangwang
 * @created: 2023/10/23 11:02
 */
public class OfflineReport {

    private String id;

    /**
     * unix 时间戳
     */
    private Long timestamp;

    /**
     * 离线类型
     */
    private String type;

    /**
     * ARM和MCU的软件版本号
     */
    private String version;

    private List<OfflineInfo> ac220;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(Long timestamp) {
        this.timestamp = timestamp;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public List<OfflineInfo> getAc220() {
        return ac220;
    }

    public void setAc220(List<OfflineInfo> ac220) {
        this.ac220 = ac220;
    }

    @Override
    public String toString() {
        return "OfflineReport{" +
                "id='" + id + '\'' +
                ", timestamp=" + timestamp +
                ", type='" + type + '\'' +
                ", version='" + version + '\'' +
                ", ac220=" + ac220 +
                '}';
    }
}
